/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.VipServiceTicket;

public interface VipServiceTicketDao extends Dao {

    /**
     * Retrieves all of the vipServiceTickets
     */
    public List getVipServiceTickets(VipServiceTicket vipServiceTicket);

    /**
     * Gets vipServiceTicket's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the vipServiceTicket's id
     * @return vipServiceTicket populated vipServiceTicket object
     */
    public VipServiceTicket getVipServiceTicket(final Integer id);

    /**
     * Saves a vipServiceTicket's information
     * @param vipServiceTicket the object to be saved
     */    
    public int saveVipServiceTicket(VipServiceTicket vipServiceTicket);

    /**
     * Removes a vipServiceTicket from the database by id
     * @param id the vipServiceTicket's id
     */
    public void removeVipServiceTicket(VipServiceTicket vipServiceTicket);
}

